<%
  	
	//////////////////////////////////////
	session.invalidate();
	//////////////////////////////////////
	Cookie nameCookie = new Cookie("USERNAME", "");
    nameCookie.setPath("/");
    nameCookie.setMaxAge(0);// delete this cookie
	nameCookie.setDomain(".sms.vn");
    Cookie passwordCookie = new Cookie("PASSWORD", "");
    passwordCookie.setPath("/");
    passwordCookie.setMaxAge(0);// delete this cookie
	passwordCookie.setDomain(".sms.vn");
    response.addCookie(nameCookie);
    response.addCookie(passwordCookie); 
    response.sendRedirect(request.getContextPath()+"/");
%>